from werkzeug.security import generate_password_hash
from app.models import User, Admin
from app import db

admin = Admin(
    manager = 'admin',
    password = generate_password_hash('123qwe')
)
db.session.add(admin)
db.session.commit()